<?php
/* Smarty version 3.1.30, created on 2017-04-21 01:03:24
  from "D:\phpStudy\WWW\lyb\app\home\view\index\index.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_58f9cadcef41d3_27121163',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'eba39db2058fe67ef8188e8f1f215238e6b29f5b' => 
    array (
      0 => 'D:\\phpStudy\\WWW\\lyb\\app\\home\\view\\index\\index.html',
      1 => 1492765390,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:public/header.php' => 1,
  ),
),false)) {
function content_58f9cadcef41d3_27121163 (Smarty_Internal_Template $_smarty_tpl) {
echo '<?php ';?>session_start() <?php echo '?>';
$_smarty_tpl->_subTemplateRender("file:public/header.php", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>

<div class="container">
      <!-- Example row of columns -->
      <div class="row">
      <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['res']->value, 'v');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['v']->value) {
?>
        <div class="col-md-4">
        
          <h1><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
</h1>
          <p><?php echo $_smarty_tpl->tpl_vars['v']->value['content'];?>
</p>
          <span><?php echo $_smarty_tpl->tpl_vars['v']->value['zuozhe'];?>
</span>-<span><?php echo date('H-m-d Y:i:s',$_smarty_tpl->tpl_vars['v']->value['time']);?>
</span>
          <a class="btn btn-default" href="index.php?m=home&c=index&a=update&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" role="button"><span>修改</span></a>
          <a class="btn btn-default" href="index.php?m=home&c=index&a=del&id=<?php echo $_smarty_tpl->tpl_vars['v']->value['id'];?>
" role="button"><span>删除</span></a>
          
        </div>
        <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>


<hr>

      <footer>
        <p>&copy; 2016 Company, Inc.</p>
      </footer>
    <!-- /container -->


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <?php echo '<script'; ?>
 src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
>window.jQuery || document.write('<?php echo '<script'; ?>
 src="../../assets/js/vendor/jquery.min.js"><\/script>')<?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"><?php echo '</script'; ?>
>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <?php echo '<script'; ?>
 src="../../assets/js/ie10-viewport-bug-workaround.js"><?php echo '</script'; ?>
>
    </body>
</html>
















      
  <?php }
}
